Comparator: Behavioral approach 2